package com.ssy.jt808.gateway.application.endpoint;

import com.ssy.jt808.gateway.domain.constant.SpecialMessageConstant;
import com.ssy.jt808.gateway.domain.protocol.T0600;
import com.ssy.netmc.core.annotation.Endpoint;
import com.ssy.netmc.core.annotation.Mapping;
import com.ssy.netmc.session.Session;
import org.springframework.stereotype.Component;

/**
 * 特定消息端点
 *
 * @author zeno
 */
@Endpoint
@Component
public class SpecialMessageEndpoint{

  @Mapping(types=SpecialMessageConstant.语音播报文件操作应答, desc="语音播报文件操作应答")
  public void T0600( T0600 message, Session session ){
    session.response(message);
  }
}
